home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / df450r.zip / PRUNE.DOC < prev    next >
Text File  |  1990-12-12  |  6KB  |  146 lines

  1. UTILITIES
  2. MICHAEL MEFFORD
  3. Vol.  9, No.  12 
  4. PRUNE
  5.  
  6. Purpose: To organize a hard disk by renaming, removing, copying, and moving 
  7.          entire directories, together with their files and subdirectories.
  8.          Directories may be put into other locations on their current or on 
  9.          another drive's directory tree.  PRUNE also reports directory or 
  10.          branch size and permits directly calling up PC Magazine's DR 
  11.          (August, 1987) and DIRMATCH (September 26, 1989) utilities to 
  12.          inspect files or update directories with current file versions.
  13.  
  14. Format:  PRUNE [d:] [d:]
  15.  
  16. Remarks: Entered at the DOS prompt without either of its two optional (d:) 
  17.          drive arguments, PRUNE displays a graphic directory tree of the 
  18.          current drive in both of its side-by-side windows.  The d: arguments 
  19.          permit initial display of any one or two directory trees on the 
  20.          system.  The active window, which has the highlight bar, can be 
  21.          toggled with the Tab key or with the Left- or Right-Arrow keys.  
  22.          The directory tree can be traversed with the Up-/Down-Arrow, 
  23.          PgUp/PgDn, and Home/End keys.  Esc exits the utility.
  24.  
  25.     The operations PRUNE can perform on the highlighted directory are 
  26.         executed with the Function Keys.  Note that except for the Rename 
  27.         Directory command (F3), "directory" here includes all directory and 
  28.         subdirectory files.  Prompts and confirmatory warnings are provided as 
  29.         needed.
  30.  
  31.     F1 copies the highlighted directory to another location on the current 
  32.         tree or to one highlighted in the alternate window.  F2 removes a 
  33.         directory, and should be used with special care.  F4 moves (copies, 
  34.         then removes the original) a directory.  F5 gives the size of a 
  35.         directory branch, including subdirectories, in terms of the bytes 
  36.         allocated to the clusters required.  Although PRUNE will not copy or 
  37.         move directories where insufficient space exists, this information may
  38.         be useful in deciding which directories to work on.  F6 displays the 
  39.         same information for the directory files without including any 
  40.         subdirectories.  F7 permits loading and displaying the tree of a new 
  41.         drive.  F8 calls up the DR utility to permit reading the files in a 
  42.         directory, and F9 calls up DIRMATCH to permit updating a target 
  43.         directory with file versions from a more recent directory.  Note that
  44.         for F8 and F9 to work, these utilities must be on the DOS path.  If 
  45.         using a floppy drive, COMMAND.COM must also be on it. 
  46.  
  47.  
  48. CUSTOMIZING PRUNE
  49.  
  50. Some systems, especially laptops, do not display color contrasts very well.
  51. If you find PRUNE hard to read, you can force it to use black and white 
  52. attributes by entering the command MODE BW80 before running the program.  
  53. The best way to do this is from a batch file containing the lines
  54.  
  55. MODE BW80
  56. PRUNE %1 %2
  57.  
  58. If you have a color system and PRUNE is using black and white attributes, 
  59. chances are some other application has changed the video mode.  To encourage 
  60. PRUNE to use color, issue the following DOS command: MODE CO80
  61. before running the program.
  62.  
  63. MODIFYING PRUNE.COM
  64.  
  65. The following instructions will enable you to customize the colors used by 
  66. PRUNE and to change the program run by pressing F7 DR.  Start by making a 
  67. backup copy of PRUNE.COM and then enter
  68.  
  69. DEBUG PRUNE.COM
  70.  
  71. You are now ready to modify the utility.  If at any time you make a mistake, 
  72. simply abort the editing process by entering Q.  The last two commands that 
  73. you enter after entering any modifications are
  74.  
  75. W
  76. Q
  77.  
  78. for Write to disk and to Quit DEBUG.
  79.  
  80. COLOR SCHEME
  81.  
  82. Enter the following DEBUG instructions, replacing the xx with a hexadecimal 
  83. color value.  The default color values and their descriptions are shown as 
  84. comments to the right of the semicolons.  Do not type in the comments.
  85.  
  86. E 17B xx  ; 71  Blue on light gray   Menu color
  87. E 17C xx  ; 17  Light gray on blue   Inactive tree
  88. E 17D xx  ; 31  Blue on cyan         Menu bar
  89. E 17E xx  ; 1F  White on blue        Active tree
  90. E 17F xx  ; 17  Light gray on blue   DR color
  91.  
  92. Alternate colors may be selected from the following list.  The background 
  93. color number is entered for the first x and the foreground color for the 
  94. second x.  Do not use a light color for the background, or the display will 
  95. blink.
  96.  
  97.  
  98. Dark colors          Light colors
  99. -----------          ------------
  100. 0  Black             8 Dark gray
  101. 1  Blue              9 Light blue
  102. 2  Green             A Light green
  103. 3  Cyan              B Light cyan
  104. 4  Red               C Orange
  105. 5  Magenta           D Violet
  106. 6  Brown             E Yellow
  107. 7  Light gray        F White
  108.  
  109. For example, to change the bar color from blue on cyan (31) to blue on light 
  110. gray (17) you would enter
  111.  
  112. E 57A 17
  113.  
  114. PRUNE turns on the border, and some monitors can't handle that.  To disable 
  115. the border, enter
  116.  
  117. E 185 1
  118.  
  119. Replace the 1 with a 0 to reenable the border.
  120.  
  121. REPROGRAMMING F7
  122. Pressing F7 in PRUNE will run the DR.COM utility if it is found on your 
  123. DOS PATH.  To substitute a different utility for DR, enter
  124.  
  125. E 192 "12345678"
  126.  
  127. where 12345678 is the eight-character name of the utility you want to use 
  128. instead.  Make sure to include the quotes shown above, but  do NOT add either
  129. the period or the extension (.COM or .EXE) of the alternative utility.  
  130. Append spaces if the utility name is less than eight characters.  Thus, 
  131. for example, if you have DirMagic, a popular subscription premium from 
  132. PC Magazine's sister publication, PC Computing, you would enter
  133.  
  134. E 192 "DIRMAGIC"
  135.  
  136. The DR next to the F7 in the menu will not change, but DirMagic will be 
  137. executed all the same.  Remember that the new utility has to be in the 
  138. DOS PATH.  To change the F7 utility back to DR, enter
  139.  
  140. E 192 "DR      "
  141.  
  142. Finish the DEBUG session with
  143.  
  144. W
  145. Q
  146.